@echo off

:init
set SRV_NAME=ikanda

:shutdown
echo Stopping service %SRV_NAME%
net stop %SRV_NAME%

:remove
echo Removing service %SRV_NAME%
nssm remove %SRV_NAME%
goto end

:end
set SRV_NAME=
echo on